import request from "@/utils/request";

// 获取路由
export const getRouters = () => {
  return request({
    url: "/admin/getRouters",
    method: "get"
  });
};

// 获取路由
export const getMenuTree = () => {
  return request({
    url: "/api/user/permMenu",
    method: "post"
  });
};
